//
//  CommandeCheck.m
//  Metronome
//
//  Created by Thomas Dupont on 23/09/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "CommandeCheck.h"


@implementation CommandeCheck
@synthesize gestionnaireEvenements;

- (id)init
{
	if(self = [super init])
	{
		name = @"CommandCheck";
	}
	return self;
}

- (void)dealloc
{
	[super dealloc];
}

- (id)copyWithZone:(NSZone *)zone
{
	CommandeCheck* copy = [[[self class] allocWithZone: zone] init];
	[copy setGestionnaireEvenements:[self gestionnaireEvenements]];
    return copy;
}

- (void)execute
{
	[gestionnaireEvenements checkMateriel];
}

- (NSString*)getName
{
	return name;
}

- (void)setName:(NSString*)theName
{
	name = theName;
}

@end
